<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib prefix="authz" uri="http://acegisecurity.org/authz" %>

<t:panelGrid>
	<h:graphicImage url="/image/logo.gif" width="100%" height="100"></h:graphicImage>
</t:panelGrid>


<t:panelGrid columns="6" bgcolor="f8f8ff" width="70%">
	<t:column style="align:left">
			<h:outputLink  value="/#{menuBean.reqContextPath}/secure/portal/agent/agent.portal.jsf" styleClass="menuText_Label">
			  <h:outputText value="#{messages['home']}" styleClass="menuText_Label" />
			</h:outputLink>
	</t:column>

    <t:column style="align:left">
	  <t:column style="align:left">
	       <rich:dropDownMenu  value="#{messages['security.menu']}" styleClass="menuText_Label" >
				<rich:menuItem value="#{messages['chg.pwd.menu']}" styleClass="menuText_Label" immediate="true"  action="#{userMgmtBean.navChangeUserPwdAction}" actionListener="#{userMgmtBean.navChangeUserPwdActionEvent}" />
	       </rich:dropDownMenu>
       </t:column>
    </t:column>

  	<t:column style="align:left">
       <rich:dropDownMenu  value="#{messages['timeshare.setup.menu']}" styleClass="menuText_Label" >
			<rich:menuGroup  value="#{messages['finance.setup.menu']}" styleClass="menuText_Label" >
				<rich:menuItem value="#{messages['commission.payment.schema.mgmt']}" immediate="true" 
       			action="#{agentCommPaymentSchBean.navListAction}"/>
       			<rich:menuItem value="#{messages['commission.schema.mgmt']}" immediate="true" 
       			action="#{agentCommSchBean.navListAction}"/>
       			<rich:menuItem value="#{messages['sub.agent.mgmt']}" immediate="true" action="#{agentSubAgentBean.navListAction}"/>
			</rich:menuGroup>	
       </rich:dropDownMenu>
    </t:column>
    <t:column style="align:left">
    	<rich:dropDownMenu  value="#{messages['timeshare.service.menu']}" styleClass="menuText_Label" >
			<rich:menuGroup  value="#{messages['member.services']}" styleClass="menuText_Label" >
				<rich:menuItem value="#{messages['proscpect.management']}" action="#{agentProspectMagmtBean.navListAction}" immediate="true"/>
			</rich:menuGroup>
			<rich:menuGroup  value="#{messages['voucher.management.menu']}" styleClass="menuText_Label" >
			  <rich:menuItem value="#{messages['voucher.entry.update.menu']}" styleClass="menuText_Label" action="#{agentVoucherMgmtBean.initVoucherEntryAction}" immediate="true"/>
 		  	  <rich:menuItem value="#{messages['print.complimentary.voucher.menu']}" styleClass="menuText_Label" action="#{agentVoucherMgmtBean.initPrintComplAccommVoucherAction}" immediate="true"/>	
			</rich:menuGroup>
			<rich:menuItem value="#{messages['member.booking.menu']}" styleClass="menuText_Label" action="#{agentMemberBookingBean.initMemberBookingListAction}" immediate="true"/>
			<rich:menuItem value="#{messages['commission']}" styleClass="menuText_Label" action="#{agentCommBean.navListAction}" immediate="true"/>
       	</rich:dropDownMenu>
    </t:column>
   
    <t:column style="align:left">
		<rich:dropDownMenu  value="#{messages['complaint.mgmt.menu']}" styleClass="menuText_Label" >
			<rich:menuItem value="#{messages['create.complaint.menu']}" styleClass="menuText_Label" immediate="true"  action="#{agentComplaintBean.navListAction}" />
		</rich:dropDownMenu>	
	</t:column>
	
	
	<t:column style="align:left">
		<h:outputLink  value="/#{menuBean.reqContextPath}/j_acegi_logout" styleClass="menuText_Label">
		  <h:outputText value="#{messages['logout']}" styleClass="menuText_Label" />
		</h:outputLink>
	</t:column>

</t:panelGrid>

